How to retrieve the custom variants from HTTP request header by
How to retrieve the custom variants from HTTP request header by
am 31.03.2010 16:46:50 von lq jimmy
--000e0cd6d098ffcd64048319d0ec
Content-Type: text/plain; charset=ISO-8859-1
Hi,
In mod_perl, i can get the custom variants which stored in header from %ENV
directly,
but it seems not works in mod_perl2.
Any idea.
thanks!!
-LQ
--000e0cd6d098ffcd64048319d0ec
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,
In mod_perl, i can get the custom variants which sto=
red in header =A0from %ENV directly,
but it seems not works in mo=
d_perl2.
Any idea.
thanks=
!!
-LQ
--000e0cd6d098ffcd64048319d0ec--
Re: How to retrieve the custom variants from HTTP request header by mod_perl2?
am 31.03.2010 17:45:28 von Michael Ludwig
Am 31.03.2010 um 16:46 schrieb lq jimmy:
>=20
> In mod_perl, i can get the custom variants which stored in header from %=
ENV directly,
> but it seems not works in mod_perl2.
Look here:
http://perl.apache.org/docs/2.0/user/config/config.html#C_Se tupEnv_
--=20
Michael.Ludwig (#) XING.com
Re: How to retrieve the custom variants from HTTP request header by
am 01.04.2010 09:54:34 von lq jimmy
--000e0cd4be5a7825aa0483282c26
Content-Type: text/plain; charset=ISO-8859-1
Thanks for your attention.
But looks like Options "SetupEnv" is use for storing global constants into
hash table %ENV.
My problem is that i don't know how to retrieve the parameters storing in
HTTP request header.
Example:
I received a bytereange request, header Content:
Content-Type: text/plain
Content-Length: 1024
Range: bytes=0-300,
How can i retrieve "bytes=0-300" from the header in mod_perl2?
2010/3/31 Michael Ludwig
> Am 31.03.2010 um 16:46 schrieb lq jimmy:
> >
> > In mod_perl, i can get the custom variants which stored in header from
> %ENV directly,
> > but it seems not works in mod_perl2.
>
> Look here:
>
> http://perl.apache.org/docs/2.0/user/config/config.html#C_Se tupEnv_
>
> --
> Michael.Ludwig (#) XING.com
>
>
--000e0cd4be5a7825aa0483282c26
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Thanks for your attention.
But looks like Options "SetupEnv&quo=
t; is use for storing global constants into hash table %ENV.
My prob=
lem is that i don't know how to retrieve the parameters storing in HTTP=
request header.
Example:
I received a bytereange request, header Content:
Content=
-Type: text/plain
Content-Length: 1024
Range:=A0 bytes=3D0-300,
r>How can i retrieve "bytes=3D0-300" from the header in mod_perl2=
?
=A0
2010/3/31 Michael Ludwig =
<michael.lu=
dwig@xing.com>
margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); paddi=
ng-left: 1ex;">
Am 31.03.2010 um 16:46 schrieb lq jimmy:
>
> In mod_perl, i can get the custom variants which stored in header =A0f=
rom %ENV directly,
> but it seems not works in mod_perl2.
Look here:
nv_" target=3D"_blank">http://perl.apache.org/docs/2.0/user/confi g/config.h=
tml#C_SetupEnv_
--
Michael.Ludwig (#) XING.com
--000e0cd4be5a7825aa0483282c26--
Re: How to retrieve the custom variants from HTTP request headerby mod_perl2?
am 01.04.2010 10:29:18 von aw
lq jimmy wrote:
> Thanks for your attention.
>
> But looks like Options "SetupEnv" is use for storing global constants into
> hash table %ENV.
>
> My problem is that i don't know how to retrieve the parameters storing in
> HTTP request header.
>
> Example:
> I received a bytereange request, header Content:
> Content-Type: text/plain
> Content-Length: 1024
> Range: bytes=0-300,
>
> How can i retrieve "bytes=0-300" from the header in mod_perl2?
>
$r->headers_in()
in http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html
Re: How to retrieve the custom variants from HTTP request header by
am 01.04.2010 10:42:00 von lq jimmy
--000e0cd70d3e148a87048328d66b
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Thank you very much!
2010/4/1 Andr=E9 Warnier
> lq jimmy wrote:
>
>> Thanks for your attention.
>>
>> But looks like Options "SetupEnv" is use for storing global constants in=
to
>> hash table %ENV.
>>
>> My problem is that i don't know how to retrieve the parameters storing i=
n
>> HTTP request header.
>>
>> Example:
>> I received a bytereange request, header Content:
>> Content-Type: text/plain
>> Content-Length: 1024
>> Range: bytes=3D0-300,
>>
>> How can i retrieve "bytes=3D0-300" from the header in mod_perl2?
>>
>> $r->headers_in()
> in http://perl.apache.org/docs/2.0/api/Apache2/RequestRec.html
>
>
>
--000e0cd70d3e148a87048328d66b
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Thank you very much!
2010/4/1 Andr=E9 War=
nier
<aw@ice-sa.com=
a>>
0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
lq jimmy wrote:
r-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Thanks for your attention.
But looks like Options "SetupEnv" is use for storing global const=
ants into
hash table %ENV.
My problem is that i don't know how to retrieve the parameters storing =
in
HTTP request header.
Example:
I received a bytereange request, header Content:
Content-Type: text/plain
Content-Length: 1024
Range: =A0bytes=3D0-300,
How can i retrieve "bytes=3D0-300" from the header in mod_perl2?<=
br>
$r->headers_in()
in
target=3D"_blank">http://perl.apache.org/docs/2.0/api/Apache 2/RequestRec.ht=
ml
--000e0cd70d3e148a87048328d66b--